# -*- coding: utf-8 -*-
#(c)Jonathan & Gregoire (read __doc__ for more information)
#Copyright (C)%(author)s (%(date)s)
#
#This program is free software: you can redistribute it and/or modify
#it under the terms of the GNU General Public License as published by
#the Free Software Foundation, either version 3 of the License, or
#(at your option) any later version.
#
#This program is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#GNU General Public License for more details.
#
#You should have received a copy of the GNU General Public License
#along with this program.  If not, see <http://www.gnu.org/licenses/>.

## @packagename PyCol
# PyCol it is a card game, you can play against human player or computer
# PyCol is a french wordplay "picole"
# Objective game's is create most structure, the player who close one structure he wins 1 point
# The winner is the player with the most points


import sys
import time
from engine.pattern.players.Player import Player

__author__      = \
"""
Jonathan MERCIER <bioinfornatics at gmail.com
Gregoire

"""
__version__     = "$Revision: 0.1 $"
__date__        = "$Date: 2009/23/09$"
__copyright__   = "Copyright (c) 2009 Jonathan MERCIER and Gregoire"
__license__     = "GPL v3 or under"
__name__        = "human.py"
__description__ = \
"""
PyCol it is a card game, you can play against human player or computer
PyCol is a french wordplay "picole"
Objective game's is create most structure, the player who close one structure he wins 1 point
The winner is the player with the most points
"""

## Documentation for Human class
# This class is the human definition object
class Human(Player):
    ## Class Attribute
    nb_human_player = 0
    ## The constructor
    # @param type: The type of player here human
    # @param name The player name
    # @param team: The number of team player
    # @param score The score of player
    def __init__(self,type=u"Human",name=None,team=None,score=0):
        ## Initialise Object player 
        Player.__init__(self,type,name,team,score)
        ## Increase the class attribute for each computer object
        self.__class__.nb_human_player += 1
    
